Optimal. Leaf size=85 \[ -\frac {a^5 x^{-3 n}}{3 n}-\frac {5 a^4 b x^{-2 n}}{2 n}-\frac {10 a^3 b^2 x^{-n}}{n}+10 a^2 b^3 \log (x)+\frac {5 a b^4 x^n}{n}+\frac {b^5 x^{2 n}}{2 n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {266, 43} \[ -\frac {10 a^3 b^2 x^{-n}}{n}+10 a^2 b^3 \log (x)-\frac {5 a^4 b x^{-2 n}}{2 n}-\frac {a^5 x^{-3 n}}{3 n}+\frac {5 a b^4 x^n}{n}+\frac {b^5 x^{2 n}}{2 n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 266
Rubi steps
\begin {align*} \int x^{-1-3 n} \left (a+b x^n\right )^5 \, dx &=\frac {\operatorname {Subst}\left (\int \frac {(a+b x)^5}{x^4} \, dx,x,x^n\right )}{n}\\ &=\frac {\operatorname {Subst}\left (\int \left (5 a b^4+\frac {a^5}{x^4}+\frac {5 a^4 b}{x^3}+\frac {10 a^3 b^2}{x^2}+\frac {10 a^2 b^3}{x}+b^5 x\right ) \, dx,x,x^n\right )}{n}\\ &=-\frac {a^5 x^{-3 n}}{3 n}-\frac {5 a^4 b x^{-2 n}}{2 n}-\frac {10 a^3 b^2 x^{-n}}{n}+\frac {5 a b^4 x^n}{n}+\frac {b^5 x^{2 n}}{2 n}+10 a^2 b^3 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 72, normalized size = 0.85 \[ 10 a^2 b^3 \log (x)+\frac {x^{-3 n} \left (-2 a^5-15 a^4 b x^n-60 a^3 b^2 x^{2 n}+30 a b^4 x^{4 n}+3 b^5 x^{5 n}\right )}{6 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 77, normalized size = 0.91 \[ \frac {60 \, a^{2} b^{3} n x^{3 \, n} \log \relax (x) + 3 \, b^{5} x^{5 \, n} + 30 \, a b^{4} x^{4 \, n} - 60 \, a^{3} b^{2} x^{2 \, n} - 15 \, a^{4} b x^{n} - 2 \, a^{5}}{6 \, n x^{3 \, n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 77, normalized size = 0.91 \[ \frac {60 \, a^{2} b^{3} n x^{3 \, n} \log \relax (x) + 3 \, b^{5} x^{5 \, n} + 30 \, a b^{4} x^{4 \, n} - 60 \, a^{3} b^{2} x^{2 \, n} - 15 \, a^{4} b x^{n} - 2 \, a^{5}}{6 \, n x^{3 \, n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 98, normalized size = 1.15 \[ \left (10 a^{2} b^{3} {\mathrm e}^{3 n \ln \relax (x )} \ln \relax (x )-\frac {5 a^{4} b \,{\mathrm e}^{n \ln \relax (x )}}{2 n}-\frac {10 a^{3} b^{2} {\mathrm e}^{2 n \ln \relax (x )}}{n}+\frac {5 a \,b^{4} {\mathrm e}^{4 n \ln \relax (x )}}{n}+\frac {b^{5} {\mathrm e}^{5 n \ln \relax (x )}}{2 n}-\frac {a^{5}}{3 n}\right ) {\mathrm e}^{-3 n \ln \relax (x )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 83, normalized size = 0.98 \[ 10 \, a^{2} b^{3} \log \relax (x) + \frac {b^{5} x^{2 \, n}}{2 \, n} + \frac {5 \, a b^{4} x^{n}}{n} - \frac {a^{5}}{3 \, n x^{3 \, n}} - \frac {5 \, a^{4} b}{2 \, n x^{2 \, n}} - \frac {10 \, a^{3} b^{2}}{n x^{n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.43, size = 83, normalized size = 0.98 \[ \frac {b^5\,x^{2\,n}}{2\,n}-\frac {a^5}{3\,n\,x^{3\,n}}+10\,a^2\,b^3\,\ln \relax (x)-\frac {10\,a^3\,b^2}{n\,x^n}+\frac {5\,a\,b^4\,x^n}{n}-\frac {5\,a^4\,b}{2\,n\,x^{2\,n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________